package soar.template.springboot.mq.rabbitmq.producer.appconfig;

import javax.annotation.Resource;

import org.springframework.context.annotation.Configuration;

import soar.template.springboot.mq.rabbitmq.producer.appconfig.rabbitmq.RabbitMQ;

@Configuration("appconfig")
public class AppConfig
{
    @Resource(name = "appconfig.rabbitmq")
    public RabbitMQ rabbitmq;

    public RabbitMQ getRabbitmq()
    {
        return rabbitmq;
    }

    public void setRabbitmq(RabbitMQ rabbitmq)
    {
        this.rabbitmq = rabbitmq;
    }

}
